/*
 * @Description  : 更新与维护页面数据
 * @Author       : zhao
 * @Date         : 2022-07-14 10:54:34
 * @LastEditors  : zhao
 * @LastEditTime : 2023-02-02 09:57:48
 */
import zpublic from '/@/utils/public.ts';
// console.log("🚀 ~ file: updataMaintain.ts:9 ~ zpublic", zpublic.mineral())

const data = {
    searchType: [
        { label: '更新时间：', type: 'datePicker', placeholder: '开始日期', placeholder2: '结束日期', prop: "TimeDate", value1: "startTime", value2: "endTime" },

        { label: '姓名：', type: 'input', placeholder: '请输入姓名', prop: "userName", },
        { label: '档案号：', type: 'input', placeholder: '请输入档案号', prop: "sn" },
        { label: '档案名称：', type: 'input', placeholder: '请输入正题名', prop: "title" },

        {
            label: '资料类别：', type: 'select', placeholder: '请选择资料类别', prop: "category", options: zpublic.Category
        },
        {
            label: '工作程度：', type: 'select', placeholder: '请选择工作程度', prop: "workDegree", options: zpublic.workDegree
        },
        {
            label: '矿种：', type: 'mineral', placeholder: '请选择矿种', prop: "mineral", options: []
        },

        {
            type: 'button', options: [
                { name: '查询', icon: 'fa fa-search' },
                // { name: '上传数据', icon: 'fa fa-search' },
            ]
        },
    ],
    tableHeader: [
        { prop: 'sn', label: '档案号', width: '' },
        { prop: 'title', label: '档案名称', width: '' },

        { prop: 'formDate', label: '形成时间', width: '' },
        { prop: 'formInstitution', label: '形成单位', width: '' },
        { prop: 'category', label: '资料类别', width: '' },
        { prop: 'workDegree', label: '工作程度', width: '' },

        { prop: 'importUser', label: '更新人', width: '' },
        { prop: 'updateDate', label: '更新时间', width: '' },
        {
            label: '操作', width: '160', type: 'button', fixed: 'right', options: [
                { name: '详情' },
                { name: '删除', type: 'danger' },
            ]
        },
    ],
    tableData: []
}


export default data